﻿<controls:ChildWindow 
           x:Class="MyFloridaHouse.libSvOpenDistricts.StorageIsolated.IsolatedStorageIncreaseDialogWindow"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="400" Height="300" 
           Title="Increase Isolated Storage"
           Background="{StaticResource MainPageBackgroundBrush}">
    
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <StackPanel Grid.Row="0"  Orientation="Vertical">
            <TextBlock TextWrapping="Wrap" Margin="10">
                We would like to save some data on your computer.
            </TextBlock>
            <TextBlock TextWrapping="Wrap" Margin="10">
                In order to give you better performance, we store some data on your computer.
                It is isolated so we can't look at anything else but our data.
                We have found that it shortens the start time considerably.
            </TextBlock>
            <TextBlock TextWrapping="Wrap" Margin="10">
                If you prefer not to save the data locally, you can still run MyDistrictBuilder, it will just run slower.
            </TextBlock>
            <TextBlock TextWrapping="Wrap" Margin="10,10,10,2">
                Press "OK" to save the data.  
            </TextBlock>
            <TextBlock TextWrapping="Wrap" Margin="10,0,10,0">
                Press "CANCEL" to NOT save it.
            </TextBlock>
        </StackPanel>
        <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="1" />
        <Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,79,0" Grid.Row="1" />
    </Grid>
</controls:ChildWindow>